package com.bojx.cms.core;



import com.bojx.cms.web.ArticleController;
import com.bojx.cms.web.AuthController;
import com.bojx.cms.web.LoginController;
import com.bojx.cms.web.QuestionController;
import com.bojx.cms.web.TestController;
import com.bojx.cms.web.UEditorController;
import com.bojx.cms.web.UserController;
import com.jfinal.config.Routes;

public class AppRoutes extends Routes {

	@Override
	public void config() {
		add("test", TestController.class, "test");
		add("/",LoginController.class);
		add("user",UserController.class,"user");
		add("ueditor",UEditorController.class);
		add("article",ArticleController.class,"article");
		add("question",QuestionController.class,"question");
		add("auth",AuthController.class,"auth");
	}
	
}
